You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > TMtxVec.PowerVec Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.PowerVec Method

Raises Base object elements to Exponent object elements power.

Syntax
C#
Visual Basic
public TMtxVec PowerVec([In] TMtxVec Base, [In] TMtxVec Exponent);

Raises Base elements to Exponent elements power. Only positive exponents can be handled if exponent object Complex property is True.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a,b,c; MtxVec.CreateIt(out a, out b, out c); try { a.SetIt(true, new double[] {1,2,3,4}); b.SetIt(true, new double[] {3,2,2,2}); c.PowerVec(a,b); } finally { MtxVec.FreeIt(ref a, ref b, ref c); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!